package com.peas.platform.module.icims.expenditure.setting.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.setting.adapter.repository.ExpenditureTravelQuotaRepository;
import com.peas.platform.module.icims.expenditure.setting.adapter.repository.po.ExpenditureTravelQuotaPo;
import com.peas.platform.module.icims.expenditure.setting.domain.ExpenditureTravelQuotaDomain;
import com.peas.platform.module.icims.expenditure.setting.dto.ExpenditureTravelQuotaDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureTravelQuotaDomainImpl extends BaseDomainImpl<ExpenditureTravelQuotaDto, ExpenditureTravelQuotaPo> implements ExpenditureTravelQuotaDomain {

    @Resource
    private ExpenditureTravelQuotaRepository expenditureTravelQuotaRepository;

    @Override
    public BaseRepository<ExpenditureTravelQuotaPo> getMapper() {
        return expenditureTravelQuotaRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureTravelQuotaPo>> getRepositoryClass() {
        return ExpenditureTravelQuotaRepository.class;
    }

}
